#!/usr/bin/env bash

rm -rf ac-framework
current_dir=`pwd`
git clone ssh://wangweinan1@10.18.222.19:29418/HiCloud/OVCloud/ac-framework
mkdir -p $current_dir/ac-framework/src/github.com/{andybalholm,klauspost}
cd $current_dir/ac-framework/src/github.com/andybalholm
git clone https://github.com/andybalholm/brotli.git
rm -rf brotli/.git

cd $current_dir/ac-framework/src/github.com/klauspost
git clone https://github.com/klauspost/compress.git
rm -rf compress/.git

cd $current_dir/ac-framework
git add -f src/github.com/andybalholm/brotli
git add -f src/github.com/klauspost/compress
git status
